import request from '@/util/request';

//获取城市数据
export let getCity = () => {
    return request.get("http://157.122.54.189:9060/area/city?level=1")
}

//获取房源数据
export let getHouseMap = (areaid) => {
    return request.get(`http://157.122.54.189:9060/area/map?id=${areaid}`)
}